﻿using System;
using System.IO;
using System.Xml.Serialization;
using HeritageAcademy.Models.DataModels;

namespace HeritageAcademy.Models.Loaders
{
    public class TestsLoader : LoaderBase<Tests>
    {
        private Test selectedTest = new Test();

        public TestsLoader(Tests tests) : base(tests)
        {
            Initialize("course.tests");
        }

        public Test SelectedTest
        {
            get { return selectedTest; }
            set
            {
                selectedTest = value;
                RaisePropertyChanged("SelectedTest");
            }
        }
    }
}
